package com.czm.art_light.param.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * 更新ES中艺术作品信息 请求DTO
 */
@Schema(description = "更新ES中艺术作品信息 请求DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArtWorkESReqDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 艺术作品id
     */
    @Schema(description = "艺术作品id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer workId;

    /**
     * 是否是更新文档全部字段信息 默认false
     */
    @Schema(description = "是否是更新文档全部字段信息 默认false", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean updateAllFields = false;
}
